﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace QLSV
{
    public partial class QuanLy : Form
    {
        public QuanLy()
        {
            InitializeComponent();
        }

        private void clickttsv_Click(object sender, EventArgs e)
        {
            ThongTinSinhVien TTSV = new ThongTinSinhVien();
            TTSV.Show();
        }

        private void clickttgv_Click(object sender, EventArgs e)
        {
            ThongTinGiaoVien TTGV = new ThongTinGiaoVien();
            TTGV.Show();
        }

        private void clickttlh_Click(object sender, EventArgs e)
        {
            ThongTinLop TTL = new ThongTinLop();
            TTL.Show();
        }

        private void clickttmh_Click(object sender, EventArgs e)
        {
            ThongTinMonHoc TTMH = new ThongTinMonHoc();
            TTMH.Show();
        }

        private void điểmThànhPhầnToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            ThongTinDiemThanhPhan TTDTP = new ThongTinDiemThanhPhan();
            TTDTP.Show();
        }

        private void tổngKếtToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TongKet TK = new TongKet();
            TK.Show();
        }

        private void mônHọcToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ThongTinMonHoc TTMH = new ThongTinMonHoc();
            TTMH.Show();
        }

        private void lớpHọcToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ThongTinLop TTL = new ThongTinLop();
            TTL.Show();
        }

        private void giáoViênToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ThongTinGiaoVien TTGV = new ThongTinGiaoVien();
            TTGV.Show();
        }

        private void thôngTinToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            ThongTinSinhVien TTSV = new ThongTinSinhVien();
            TTSV.Show();
        }

        private void thoátToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("Bạn Có Muốn Thoát Không?", "Thoát Chương Trình!", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
            {
                Close();
                Dispose();
                DangNhap DN = new DangNhap();
                DN.Show();
            }
        }

        private void helpToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Help H = new Help();
            H.Show();
        }
    }
}
